﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KWT.DRG_DIP.PO.Settlement
{
  /// <summary>
  /// 预分组插件-推荐信息
  /// </summary>
    public class List_Suggest
    {
        [Key]
        public string LSID { get; set; }
        /// <summary>
        /// 清单ID
        /// </summary>
        public string ListID { get; set; }
        /// <summary>
        /// 患者证件号码
        /// </summary>
        public string CertNo { get; set; }
        /// <summary>
        /// 病种编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 病种名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 点数
        /// </summary>
        [Precision(6)]
        public decimal Point { get; set; }
        /// <summary>
        /// 分值
        /// </summary>
        public decimal Score { get; set; }
        /// <summary>
        /// 倍率
        /// </summary>
        [Precision(6)]
        public decimal Mag { get; set; }
        /// <summary>
        /// 倍率类型 1：高倍率 2：低倍率 0：正常
        /// </summary>
        public int MagType { get; set; }
        /// <summary>
        /// 医保类型
        /// </summary>
        public string InsuranceType { get; set; }
        /// <summary>
        /// 费用结余
        /// </summary>
        public decimal FeeRemain { get; set; }
        /// <summary>
        /// 付费标准（元）
        /// </summary>
        public decimal FeeStandard { get; set; }
        /// <summary>
        /// 当前费用（元）
        /// </summary>
        public decimal CurrentFee { get; set; }
        /// <summary>
        /// 住院天数标杆值(天)
        /// </summary>
        public decimal ZYTSBGZ { get; set; }
        /// <summary>
        /// 当前住院时间（天）
        /// </summary>
        public int InDays { get; set; }
        public decimal ListScore { get; set; }
        public int Deduct { get; set; }
        [Column(TypeName = "text")]
        public string QC_Json { get; set; }
        [Column(TypeName = "text")]
        public string Suggest_Json { get; set; }

        [Column(TypeName = "text")]
        public string Diagnoset_Json { get; set; }
        [Column(TypeName = "text")]
        public string Operation_Json { get; set; }
        [Column(TypeName = "text")]
        public string GroupInfo_Json { get; set; }
    }
}
